import Vue from 'vue'
Vue.mixin({   
  methods: {      
    hasAuth(perm) {         
      var authority = this.$store.state.menus.permsList         
         
      return authority.indexOf(perm) > -1      
    }   
}})